﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CompareOptionParams.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The compare option params.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.Common.Comparer
{
    using System;
    using Helper;
    using System.Runtime.Serialization;

    /// <summary>
    /// The compare option params.
    /// </summary>
    [DataContract]
    public struct CompareOptionParams
    {
        /// <summary>
        /// Gets or sets Name.
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets Value.
        /// </summary>
        [DataMember]
        public string Value { get; set; }

        /// <summary>
        /// Gets or sets CompareOptionType.
        /// </summary>
        [DataMember]
        public OptionType CompareOptionType { get; set; }

        /// <summary>
        /// Gets or sets ErrorMsgId.
        /// </summary>
        [DataMember]
        public string ErrorMsgId { get; set; }

        /// <summary>
        /// Gets or sets TableName.
        /// </summary>
        [DataMember]
        public string TableName { get; set; }

        /// <summary>
        /// Gets or sets ToolTip.
        /// </summary>
        [DataMember]
        public string ToolTip { get; set; }

        /// <summary>
        /// Gets or sets Label.
        /// </summary>
        [DataMember]
        public string Label { get; set; }

        /// <summary>
        /// Gets or sets ErrorMessage.
        /// </summary>
        [DataMember]
        public string ErrorMessage { get; set; }

        /// <summary>
        /// Gets or sets ControlledBy.
        /// </summary>
        [DataMember]
        public string ControlledBy { get; set; }

        /// <summary>
        /// Gets or sets Visible.
        /// </summary>
        [DataMember]
        public string Visible { get; set; }

        /// <summary>
        /// Gets or sets Reload.
        /// </summary>
        [DataMember]
        public string Reload { get; set; }

        /// <summary>
        /// Gets or sets Recompare.
        /// </summary>
        [DataMember]
        public string Recompare { get; set; }

        /// <summary>
        /// Gets or sets UserInterfaceType.
        /// </summary>
        [DataMember]
        public string UserInterfaceType { get; set; }

        /// <summary>
        /// Gets or sets RowNumber.
        /// </summary>
        [DataMember]
        public int RowNumber { get; set; }

        /// <summary>
        /// Gets or sets CompareOptionControlType.
        /// </summary>
        [DataMember]
        public CompareOptionControlType CompareOptionControlType { get; set; }
    }
}